﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcSDK.Domain
{
    /// <summary>
    /// AT_Organization:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class AT_Organization
    {
        public AT_Organization()
        { }
        #region Model
        private long _id = 0;
        private long _companyid = 0;
        private long _orgcompanyid = 0;
        private string _orgname = "";
        private long _parentid = 0;
        private long _createby = 0;
        private int _type = 0;
        private int _long = 0;
        private int _lat = 0;
        private int _status = 0;
        private int _sort = 0;
        private string _prov = "";
        private string _city = "";
        private string _area = "";
        /// <summary>
        /// 组织表
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 平台公司
        /// </summary>
        public long CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 当前组织的公司
        /// </summary>
        public long OrgCompanyId
        {
            set { _orgcompanyid = value; }
            get { return _orgcompanyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string OrgName
        {
            set { _orgname = value; }
            get { return _orgname; }
        }
        /// <summary>
        /// 父级Id
        /// </summary>
        public long ParentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CreateBy
        {
            set { _createby = value; }
            get { return _createby; }
        }
        /// <summary>
        /// 1 内部 2经销 3终端
        /// </summary>
        public int Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 经度
        /// </summary>
        public int Long
        {
            set { _long = value; }
            get { return _long; }
        }
        /// <summary>
        /// 纬度
        /// </summary>
        public int Lat
        {
            set { _lat = value; }
            get { return _lat; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Prov
        {
            set { _prov = value; }
            get { return _prov; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string City
        {
            set { _city = value; }
            get { return _city; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Area
        {
            set { _area = value; }
            get { return _area; }
        }
        #endregion Model

    }
}
